package com.lonely.factory.abstractfactory;

/**
 * @date: 2022-04-02 17:22
 * @author: ztkj-hzb
 * @description: 外国房子工厂
 **/
public class ForeignHouseFactory implements HouseFactory{

    /**
     * 构建门
     *
     * @return
     */
    @Override
    public Door createDoor() {
        return new IronDoor();
    }

    /**
     * 构建床
     *
     * @return
     */
    @Override
    public Bed createBed() {
        return new SoftBed();
    }
}
